package me.zhengjie.modules.fund.repository;

import me.zhengjie.modules.fund.domain.UserFundLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;

public interface UserFundLogRepository extends JpaRepository<UserFundLog, Long>, JpaSpecificationExecutor<UserFundLog> {

    UserFundLog findByUserIdAndFundCodeAndDate(Long userId, String fundCode, Date date);
}
